package com.cg.conrtroller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author cheyinbo
 * @date 2021-04-07 11:26:52
 */
@RestController
public class Demo01Controller {

    @GetMapping("test1")
    public String test1(){
        int num = 1 / 0;
        return "test1";
    }

}
